local f = require('utils.func')

local auto_format = false

if auto_format then
    f.nvim_create_augroups({
        autoformat = {
            {
                "BufWritePre", "*",
                [[try | undojoin | Neoformat | catch /^Vim\%((\a\+)\)\=:E790/ | finally | silent Neoformat | endtry]]
                -- "undojoin | Neoformat",
            }
        }

    })
end
